home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Programming
/
DiceSource
/
lib
/
alib
/
system.a
< prev
next >
Wrap
Text File
|
1994-02-01
|
516b
|
29 lines
; dummy System() call. The system() command will use
; System() under 2.0, Execute() under 1.3 ... for programs
; to link a dummy System() must exist under 1.3. Under
; 2.0 the amiga.lib System() will overide this one.
section text,code
xdef _System
xdef @System
xref _DOSBase
@System:
movem.l D2/A6,-(sp)
move.l A0,D1
move.l A1,D2
bra sxgo
_System:
movem.l D2/A6,-(A7)
movem.l 12(sp),D1-D2
sxgo move.l _DOSBase(A4),A6
jsr -$025E(A6)
movem.l (sp)+,D2/A6
rts
END